<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>房屋拆迁安置管理后台首页</title>
    <link rel="stylesheet" href="{{asset('layui/css/layui.css')}}">
    <link rel="stylesheet" href="{{asset('css/pintuer.css')}}">
    <link rel="stylesheet" href="{{asset('css/admin.css')}}">
    <script src="{{asset('layui/layui.js')}}"></script>
    <script src="{{asset('js/jquery.js')}}"></script>
</head>
<body style="background-color:#666666;">
<div class="header bg-main">
  <div class="logo margin-big-left fadein-top">
    <h1><img src="{{asset('images/baby_3.jpg')}}" class="radius-circle rotate-hover" height="50" alt="" /><b style="font-size: 14px;">Hello，<span style="color:white;">{{session('admin_username')}}</span></b>&nbsp;&nbsp;&nbsp;&nbsp;<b style="color:white; margin-left: 50px">房屋拆迁安置后台管理中心</b></h1>
  </div>
  <div class="head-l"> <span id="showTime" style="color:white;font-size: 15px;margin-right: 70px"></span>&nbsp;&nbsp;&nbsp;&nbsp;{{--<a class="button button-little bg-green" href="" target="_blank"><span class="icon-home"></span> 前台首页</a>--}} &nbsp;&nbsp;{{--<a href="#" target="right" class="button button-little bg-blue"><span class="icon-wrench"></span> 个性设置</a>--}} &nbsp;&nbsp;<a class="button button-little bg-red" href="{{url('logout')}}"><span class="icon-power-off"></span> 退出登录</a>{{--<img width="120px" height="35px" src="{{asset('images/mylogo.gif')}}"/>--}}</div>
    <!--显示时间的js代码-->
    <script type="text/javascript">
        setInterval(function(){
            var time=new Date();
            var year=time.getFullYear();  //获取年份
            var month=time.getMonth()+1;  //获取月份
            var day=time.getDate();   //获取日期
            var hour=checkTime(time.getHours());   //获取时
            var minute=checkTime(time.getMinutes());  //获取分
            var second=checkTime(time.getSeconds());  //获取秒
            /****当时、分、秒、小于10时，则添加0****/
            function checkTime(i){
                if(i<10) return "0"+i;
                return i;
            }
            var box=document.getElementById("showTime");
            box.innerHTML=year+"年"+month+"月"+day+"日  "+hour+":"+minute+":"+second;
        },1000);     //setInterval(fn,i) 定时器，每隔i秒执行fn
    </script>
</div>
<div class="leftnav" style="background-color:#333">
  <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
    </br>
  <h2><span></span><b style="color:white;font-size: 16px"><i class="layui-icon">&#xe656;</i> 项目管理</b></h2>
  <ul>
    <li><a href="{{Route('project.index')}}" target="right"><span></span><b style="color:white;font-size: 14px"><i class="layui-icon">&#xe65b;</i> 项目列表</b></a></li>

   {{-- <li><a href="" target="right"><span class="icon-caret-right"></span>商品产地</a></li>
    <li><a href="" target="right"><span class="icon-caret-right"></span>添加商品</a></li>
    <li><a href="" target="right"><span class="icon-caret-right"></span>商品列表</a></li>--}}
  </ul>
    </br>
    </br>
    <h2><span></span><b style="color:white;font-size: 16px"><i class="layui-icon">&#xe647;</i> 前期调查</b></h2>
    <ul>
        {{--<li><a href="{{Route('survey.index')}}" target="right"><span ></span><b style="color:white;font-size: 14px"><i class="layui-icon">&#xe65b;</i> 调查列表</b></a></li>--}}
        <li><a href="{{url('housesIndex')}}" target="right"><span ></span><b style="color:white;font-size: 14px"><i class="layui-icon">&#xe65b;</i> 调查列表</b></a></li>
        {{--<li><a href="{{url('housesDetail')}}" target="right"><span ></span><b style="color:white;font-size: 14px"><i class="layui-icon">&#xe65b;</i> 调查明细表</b></a></li>--}}
       {{-- <li><a href="" target="right"><span class="icon-caret-right"></span>修改密码</a></li>--}}
    </ul>
    {{--<h2><span class="icon-pencil-square-o"></span><b style="color:magenta">消息管理</b></h2>
    <ul>
        <li><a href="" target="right"><span class="icon-caret-right"></span>用户评论列表</a></li>
        <li><a href="" target="right"><span class="icon-caret-right"></span>留言反馈</a></li>
        <li><a href="cate.html" target="right"><span class="icon-caret-right"></span>分类管理</a></li>
    </ul>--}}
    </br>
    </br>
   <h2><span></span><b style="color:white;font-size: 16px"><i class="layui-icon">&#xe642;</i> 合同签订</b></h2>
  <ul>
      <li><a href="{{ route('contract.index') }}" target="right"><span class="icon-caret-right"></span><b style="color:white;font-size: 14px"><i class="layui-icon">&#xe65b;</i> 合同列表</b></a></li>
      {{--<li><a href="{{ route('contract.detail') }}" target="right"><span class="icon-caret-right"></span><b style="color:white;font-size: 14px"><i class="layui-icon">&#xe65b;</i> 合同明细表</b></a></li>--}}
  </ul>
    </br>
    </br>
    <h2><span></span><b style="color:white;font-size: 16px"><i class="layui-icon">&#xe653;</i> 审计管理</b></h2>
    <ul>
        <li><a href="{{ route('audit.index') }}" target="right"><span class="icon-caret-right"></span><b style="color:white;font-size: 14px"><i class="layui-icon">&#xe65b;</i> 审计列表</b></a></li>
    </ul>
    </br>
    </br>
    <h2><span></span><b style="color:white;font-size: 16px"><i class="layui-icon">&#xe65e;</i> 支付管理</b></h2>
    <ul>
        <li><a href="{{ route('pay.index') }}" target="right"><span class="icon-caret-right"></span><b style="color:white;font-size: 14px"><i class="layui-icon">&#xe65b;</i> 支付列表</b></a></li>
    </ul>
    </br>
    </br>
    <h2><span></span><b style="color:white;font-size: 16px"><i class="layui-icon">&#xe68e;</i> 房源管理</b></h2>
    <ul>
        <li><a href="{{url('housingIndex')}}" target="right"><span class="icon-caret-right"></span><b style="color:white;font-size: 14px"><i class="layui-icon">&#xe65b;</i> 房源列表</b></a></li>
    </ul>
    </br>
    </br>
    <h2><span></span><b style="color:white;font-size: 16px"><i class="layui-icon">&#xe716;</i> 管理中心</b></h2>
    <ul>
        <li><a href="{{url('roleList')}}" target="right"><span></span><b style="color:white;font-size: 14px"><i class="layui-icon">&#xe65b;</i> 角色管理</b></a></li>
        <li><a href="{{url('permissionList')}}" target="right"><span></span><b style="color:white;font-size: 14px"><i class="layui-icon">&#xe65b;</i> 权限管理</b></a></li>
        <li><a href="{{url('userList')}}" target="right"><span></span><b style="color:white;font-size: 14px"><i class="layui-icon">&#xe65b;</i> 用户管理</b></a></li>
        {{--<li><a href="{{url('TVseriesManage')}}" target="right"><span class="icon-caret-right"></span>电视剧管理</a></li>
        <li><a href="{{url('imageAdManage')}}" target="right"><span class="icon-caret-right"></span>图片广告管理</a></li>
        <li><a href="{{url('videoAdManage')}}" target="right"><span class="icon-caret-right"></span>视频广告管理</a></li>--}}
    </ul>

</div>
<script type="text/javascript">
$(function(){
  $(".leftnav h2").click(function(){
	  $(this).next().slideToggle(200);	
	  $(this).toggleClass("on"); 
  })
  $(".leftnav ul li a").click(function(){
	    $("#a_leader_txt").text($(this).text());
  		$(".leftnav ul li a").removeClass("on");
		$(this).addClass("on");
  })
});
</script>
<ul class="bread">
  <li><a href="##"  class="icon-home"> 后台首页</a></li>
  <li><a href="##" id="a_leader_txt">网站信息</a></li>
  {{--<li><b>当前语言：</b><span style="color:red;">中文</span>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;切换语言：<a href="##">中文</a> &nbsp;&nbsp;<a href="#">英文</a> </li>--}}
</ul>
<div class="admin">
  <iframe scrolling="auto" rameborder="0" src="" name="right" width="100%" height="100%" style="background-color:white" id="frame"></iframe>
</div>
</body>
</html>